<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>user login</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   用户登录界面
   <div id="loginpanelwrap">
        <div class="loginheader">
            <div class="logintitle">登录</div>
        </div>
        <form action = "/UserLogin/Sample1/loginServlet">
            <div class="loginform">
                <div class="loginform_row">
                    <label>用户名:</label>
                    <input type="text" class="loginform_input" name="username" />
                </div>
                <div class="loginform_row">
                    <label>密码:</label>
                    <input type="password" class="loginform_input" name="password" />
                </div>
                
                <div class="loginform_row">
                    <span class = "returnInfo"></span>
                    <input type="submit" class="loginform_submit" value="登录" />
                </div>
                <div class="clear"></div>
            </div>
        </form>
    </div>
  </body>
</html>
